package com.xuecheng.learning.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 笔记
 * </p>
 *
 * @author itheima
 * @since 2022-12-12
 */
@Getter
@Setter
@TableName("tb_note")
public class Note implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建人
     */
    private String username;

    /**
     * 内容
     */
    private String content;

    /**
     * 课程计划标识
     */
    private Long teachplanId;

    private Long courseId;

    private Long coursePubId;

    /**
     * 状态
     */
    private String status;

    /**
     * 是否公开
     */
    private Integer isPublic;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 修改时间
     */
    private Date changeDate;

    /**
     * 机构id
     */
    private Long companyId;


}
